home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat3 / mkdir.3 < prev    next >
Encoding:
Text File  |  1993-03-03  |  1.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. MKDIR(3)            MINTLIB LIBRARY FUNCTIONS            MKDIR(3)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        mkdir - make a directory
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        #include <unistd.h>
  12.  
  13.        int mkdir(const char *path, unsigned int mode);
  14.  
  15. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  16.        The  routine  mkdir  creates a new directory with the name
  17.        path.  The mode of the new directory is  initialized  from
  18.        the  mode.   The  protection  part of the mode argument is
  19.        modified by the process's mode mask (see umask).
  20.  
  21.        The directory's owner ID is set to the process's effective
  22.        user ID.  The directory's group ID is set to the process's
  23.        effective group ID.  The newly created directory is  empty
  24.        except for the entries '.' and
  25.  
  26. R✓RE✓ET✓TU✓UR✓RN✓N V✓VA✓AL✓LU✓UE✓ES✓S
  27.         0 upon successfull completion.  -1 on error; errno is set
  28.        to indicate the error.
  29.  
  30. S✓SE✓EE✓E A✓AL✓LS✓SO✓O
  31.        r✓rm✓md✓di✓ir✓r(✓(3✓3)✓),✓, D✓Dc✓cr✓re✓ea✓at✓te✓e(✓(2✓2)✓)
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. MiNT docs 0.1              3 March 1993                         1
  65.  
  66.  
  67.